package com.xtt.akka.chapter2;

import akka.actor.ActorSystem;
import akka.actor.Props;

public class Main {
//	//启动方式一
//	public static void main(String[] args) {
//		akka.Main.main(new String[] {
//				HelloWorld.class.getName()
//		});
//	}
	
	public static void main(String[] args) {
		ActorSystem actorSystem = ActorSystem.create("hello");
		actorSystem.actorOf(Props.create(HelloWorld.class),"HelloWorld");
	}
}
